<!DOCTYPE html>
<html>
<head>
    <#include "../common.ftl">
</head>
<body class="childrenBody">
    <form class="layui-form" style="width:80%;">
        <#-- 设置营销机会Id的隐藏域 -->
        <input type="hidden" name="id" value="${(saleChance.customerid)!}">
        <#-- 设置指派人Id的隐藏域 -->
        <input type="hidden" id="assignManId" value="${(saleChance.gender)!}">
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">客户姓名</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" lay-verify="required" name="customerName" id="customerName"
                       value="${(saleChance.surname)!}" placeholder="">
            </div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">信用卡年限</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" name="chanceSource" id="chanceSource"
                       value="${(saleChance.tenure)!}年"
                       placeholder="">
            </div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">账户余额</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" name="linkMan" lay-verify="required"
                       value="${(saleChance.balance)!}元"
                       placeholder="">
            </div>
        </div>

        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">联系电话</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" lay-verify="phone" name="linkPhone"
                       value="${(saleChance.customerid)!}" id="phone"
                       placeholder="">
            </div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">是否是会员</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input"
                       name="overview" value="${(saleChance.isactivemember)!}" id="phone" placeholder="">
            </div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">客户类别</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" name="cgjl" value="${(saleChance.cluster)!}" placeholder="">
            </div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">服务类别</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" name="cgjl" value="${(saleChance.servicenum)!}" placeholder="">
            </div>
        </div>
<#--        <div class="layui-form-item layui-row layui-col-xs12">-->
<#--            <label class="layui-form-label">服务类别</label>-->
<#--            <div class="layui-input-block">-->
<#--                <input placeholder="" name="description"-->
<#--                       class="layui-textarea">${(saleChance.servicenum)!}</input>-->
<#--            </div>-->
<#--        </div>-->
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">客户概述</label>
            <div class="layui-input-block">
                <textarea type="text" placeholder="" name="description"
                          class="layui-textarea">${(saleChance.describtion)!}</textarea>
            </div>
        </div>
<#--        <div class="layui-form-item layui-row layui-col-xs12">-->
<#--            <label class="layui-form-label">服务类别</label>-->
<#--            <div class="layui-input-block">-->
<#--                <select name="assignMan" id="assignMan">-->
<#--                    <option value="">请选择</option>-->
<#--                </select>-->
<#--            </div>-->
<#--        </div>-->


        <br/>

        <div class="layui-form-item layui-row layui-col-xs12">
            <div class="layui-input-block">
                <button class="layui-btn layui-btn-lg" lay-submit="" lay-filter="addOrUpdateSaleChance">确认联系</button>
                <button class="layui-btn layui-btn-lg layui-btn-normal" id="closeBtn">取消联系</button>
            </div>
        </div>

    </form>
    <script type="text/javascript" src="${ctx}/js/saleChance/add.update.js"></script>
</body>
</html>